import javax.imageio.ImageIO;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.OverlayLayout;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URL;

import javax.swing.JLayeredPane;


public class StoreFrameM6 extends JFrame {

	/**
	 * This is the Frame for the Store.
	 * 
	 * @author Amy Lambeth
	 * @version 3.0 10/24/2011
	 * 
	 */
	
	private static final long serialVersionUID = 1L;

	/**
	 * Launch the application.
	 */
	
	StoreController controller;
	public StoreFrameM6() {
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 446, 390);

		controller = new StoreController(Wagon.getInventoryController(),60); // independence store
		StorePanel store = new StorePanel(controller.getStoreInventory(),controller.getWagonInventory(), controller);
		
		add(store);
		setSize(601,494);
		this.setVisible(false);

	}
	


	
}
